<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
	<div id="app">
		<div class="wrapper wrapper-content" >
			<div class="col-sm-12">
				<div class="ibox">
					<div class="ibox-body">
						<div class="columns pull-left">
							<p class="h3">选择商品</p>
						</div>
						<div class="columns pull-right">
							<button class="btn btn-success" onclick="reLoad()">查询</button>
						</div>
						<div class="columns pull-right col-md-2 nopadding">
							<input id="searchName" type="text" class="form-control"
								   placeholder="商品名称">
						</div>
						<br>
						<br><br>
						<div class="container">

							<table class="layui-hide" id="addGoods"></table>
						</div>
<!--						<table id="exampleTable" data-mobile-responsive="true">-->
<!--						</table>-->
<!--						<table lay-data="{height:300, url:'/goods/goods/list'}" lay-filter="demo"> …… </table>-->

<!--

<						<table class="layui-table" lay-data="{height:315,statusCode: 200, url:'/goods/goods/list?limit=10&offset=0', page:true, id:'test'}" lay-filter="test">-->
<!--							<thead>-->
<!--							<tr>-->
<!--								<th lay-data="{field:'id', width:80, sort: true}">ID</th>-->
<!--								<th lay-data="{field:'name', width:80}">用户名</th>-->
<!--								<th lay-data="{field:'brand', width:80, sort: true}">商品品牌</th>-->
<!--								<th lay-data="{field:'goodInfo'}">商品信息</th>-->
<!--								<th lay-data="{field:'num', text: 1  sort: true edit: 'text'}">数量</th>-->
<!--							</tr>-->
<!--							</thead>-->
<!--						</table>-->
						<div class="layui-btn-group demoTable">
<!--						<div class="columns pull-right">-->
							<button class="layui-btn" @click="getCheckData">获取选中行数据</button>
							<button class="layui-btn" @click="getCheckLength">获取选中数目</button>
							<button class="layui-btn" data-type="isAll">验证是否全选</button>
							<button class="btn btn-success" @click="add()">添加</button>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
	<div th:include="include::footer"></div>
	<script type="text/javascript" src="/js/appjs/order/testAdd.js"></script>
</body>
</html>
